{__NOLAYOUT__}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    {include file="public/script" /}
    <link rel="stylesheet" type="text/css" href="__STATIC__/www/css/font-awesome.min.css"/>
    <script src="__STATIC__/www/js/gg.js"></script>
    <style>
        .shop_go_section1{background: url({$info.background});}
    </style>
</head>
<body>
	<div class="sectionH sectionH1 index_sectionH mui-clearfix">
		<header class="mui-bar mui-bar-nav" style="">
			<a class="mui-icon mui-icon-left-nav  mui-pull-left" href="javascript:history.back(-1)" style="color: #fff;"></a>
			<h1 class="mui-title">{$info.title}</h1>
			<!--<a class="mui-icon mui-pull-right right1" href="assets-1.html"><img src="images/icon_setting.png"/></a>-->
		</header>
	</div>
	<div class="shop_go_section1">
		
	</div>
	<div class="shop_go_section2">
		<div class="container">
			<div class="shop_go_section2_1">
				<p class="p1">{$info.title}</p>
				<p class="p2">
                    <?php
                    $jishu2 = $info['avg'];
                    for($ii=1;$ii<=5;$ii++ ){
                        if($jishu2>=1){
                    echo '<span class="fa fa-star select"></span>';
                    }elseif($jishu2>0){
                    echo '<span class="fa fa-star-half-o select"></span>';
                    }else{
                    echo '<span class="fa fa-star-o"></span>';
                    }
                    $jishu2--;
                    }
                    ?>
				</p>
				<p class="p3">电话：{$info.tel} <a href="tel:{$info.tel}"></a><img src="__STATIC__/www/images/icon_tel.png"/></p>
				<p class="p4">地址：{$info.address}</p>
                <a href="javascript:dao('{$info.latitude}','{$info.longitude}');"><img src="__STATIC__/www/images/icon_location.png" alt="" class="daodao"/></a>
			</div>
		</div>
	</div>
	<div class="kongkong"></div>
	<div class="shop_go_section3 mui-clearfix">
		<ul>
			<li class="select">简介</li>
			<li>评价</li>
		</ul>
	</div>
	<div class="shop_go_section4">
		<div class="container">
			<div class="shop_go_section4_1 select">
				<div class="a1">
					{$info.detail}
				</div>
			</div>
			<div class="shop_go_section4_1 ">
                {volist name="$info.comment" id="c"}
                    <div class="a2">
                        <div class="a2_1 mui-clearfix">
                            <p class="p1"><img src="{$c.avatar}"/></p>
                            <p class="p2" id="plll">{$c.mobile}</p>
                            <p class="p3">
                                <?php
                    $jishu2 = $c['star'];
                    for($ii=1;$ii<=5;$ii++ ){
                        if($jishu2>=1){
                                echo '<span class="fa fa-star select"></span>';
                                }elseif($jishu2>0){
                                echo '<span class="fa fa-star-half-o select"></span>';
                                }else{
                                echo '<span class="fa fa-star-o"></span>';
                                }
                                $jishu2--;
                                }
                                ?>

                            </p>
                        </div>
                        <div class="a2_2">
                            <p class="p1">
                                {$c.content}
                            </p>
                            <p class="p2">
                                {$c.comment_time|show_datetime}
                            </p>
                        </div>
                    </div>
                {/volist}


			</div>
		</div>
	</div>
	
</body>
<script>
	$(function(){
		var dd = $(".shop_go_section2").height();
		$(".kongkong").css("height",dd-20);
	})
	$(function(){
		$(".shop_go_section3 li").click(function(){
			$(this).addClass("select").siblings().removeClass("select");
			var dd = $(this).index();
			$(".shop_go_section4_1").eq(dd).addClass("select").siblings().removeClass("select")
		})
	})
    function dao(lat,lng) {
        var is_app = "<?php echo @$_GET['is_app'] ?>";
        if(is_app == 1){
            if(lat!=''&&lng!=''){
                android.intentToBaiduMap(lat,lng);
            }
        }
    }
</script>


</html>